package method;

import java.util.Random;
import java.util.Scanner;

public class basic_method {
    public static void basic(int Day, int SumDay, int AccidentDay) {
        System.out.println(" " + Day + " day");
        System.out.println(" 00:00 ");
        System.out.println(" 12:00 ");
        System.out.println(" 00:00 ");
        if (Day == AccidentDay) {
            System.out.println("第" + Day + "天发生了意外");
        }
        if (Day != SumDay) {
            System.out.println();
        }
    }

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        Random r = new Random();
        int SumDay = sc.nextInt(), AccidentDay = r.nextInt(SumDay) + 1;
        for (int Day = 0; Day < SumDay; Day++) {
            basic(Day + 1, SumDay, AccidentDay);
        }
    }
}
